
package com.example.xsssglxt.service;

        import com.example.xsssglxt.entity.DomiteryManage;
        import com.example.xsssglxt.entity.Student;
        import com.example.xsssglxt.mapper.DomiteryManageMapper;
        import com.example.xsssglxt.mapper.StudentMapper;
        import com.example.xsssglxt.mapper.SushemanagerMapper;
        import org.springframework.beans.factory.annotation.Autowired;
        import org.springframework.stereotype.Service;

@Service
public class DomitaryService {
    @Autowired
    private SushemanagerMapper sushemanagerMapper;
    public int student(DomiteryManage domiteryManage){
        return sushemanagerMapper.insert(domiteryManage);

    }
    public int change(DomiteryManage domiteryManage){
        return  sushemanagerMapper.updatexs(domiteryManage);
    }
}
